package com.joney.common.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author wangxianchen
 * @create 2018-02-26
 * @desc 适用于jquery easyui的数据表格返回实体
 */
@Getter
@Setter
@ToString
public class Datagrid {

    //记录总数
    private long total;
    //返回数据
    private Object rows;

    public Datagrid(){

    }

    public Datagrid(long total,Object rows){
        this.total = total;
        this.rows = rows;
    }
}
